<?php

namespace App\Admin\Controllers;

use App\Admin\Forms\WechatBdReply;
use App\Admin\Forms\WechatConfig;
use App\Admin\Forms\WechatMenu;
use App\Admin\Forms\WechatZdReply;
use App\Http\Controllers\Controller;
use Encore\Admin\Layout\Content;
use Encore\Admin\Widgets\Tab;

class WechatSettingController extends Controller
{
    public function index(Content $content)
    {
        $forms = [
//            'bd_reply'   => WechatBdReply::class,
//            'auto_reply' => WechatZdReply::class,
            'tab_bar' => WechatConfig::class,
        ];

        return $content
            ->title('网站设置')
            ->body(Tab::forms($forms));
    }
}
